package com.csnf.mapper;

import csnf.com.entity.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;

@Mapper
public interface MerchantMapper {
    int merchantLogin(Merchant merchant);
    int merchantRegister(Merchant merchant);
    ArrayList<Merchant> selectAll(Merchant merchant);
    Merchant selectMerchant(int id);
    int updateMerchant(Merchant merchant);

}
